Adjustable starting pages - #3
Conversation
| - `maxPages`: The maximum amount of pages that should be shown (default: 5) | ||
| - `config`: A configuration object containing the following possible configuration values: | ||
| - `firstPage`: The first page of the pagination (default: 1) | ||
| - `maxPages`: The maximum amount of pages that should be shown (default: 5) |
There was a problem hiding this comment.
Are you sure you want to have a default for maxPages? How would I say that I want all pages to be shown?
There was a problem hiding this comment.
This is the number of pages that should be shown blow. For example if you have hundreds of results, then we show only the next 2 pages. Otherwise, it breaks most of the times on mobile.
Do you know a sceznario, where you want to show all pages?
There was a problem hiding this comment.
I like the feature, but I would just keep the possibility to also show all pages. I think a lib should support that.
There was a problem hiding this comment.
Would you than also stick to this config object? Because in our case with our designs we then always have to pass this parameter.
No description provided.